// import { request } from 'umi'

import { request } from "umi";

export function getSearch(keyword: string='') {
  return request('/api/search/article', {
    params: { keyword }
  })
}